/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TDJsp;

import java.sql.*;
import java.util.Hashtable;
import java.util.Properties;
import java.beans.*;

/**
 *
 * @author zouafr
 */

public class DVD extends Beans{
    
    private String descrip;
    private float prix;
    
    
    /**
     * @param args the command line arguments
     */
    
   public DVD(){
       descrip = "default";
       prix = 0;
    }

    public DVD(String descrip, float prix) {
        this.descrip = descrip;
        this.prix = prix;
    }
   

    public String getDescrip() {
        return descrip;
    }

    public void setDescrip(String descrip) {
        this.descrip = descrip;
    }

  
    public float getPrix() {
        return prix;
    }

    public void setPrix(int prix) {
        this.prix = prix;
    }

    @Override
    public String toString() {
            return "DVD{" + "descrip=" + descrip + ", prix=" + prix + '}';
    }
    
    
}